package com.icoopoo.ibase.base;

import java.util.List;

public interface BaseService<T,D> {
	
	public int saveModel(T t);
	public int updateModel(T t);
	
	public int deleteModelByIds(List<String> ids);
	public int deleteModelById(String id);
	
	public T getModelById(String id);
	public List<T> fingModels();
	
}
